package com.violet.uaa.server.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.violet.common.entity.Permission;

import java.util.List;

/**
* @Author: wqf
* @Date: 2024/08/31
* @Description:
*/
public interface PermissionMapper extends BaseMapper<Permission> {

    /**
     * 方法描述: 查询用户的接口权限信息
     *
     * @param userId 用户id
     * @return java.util.List<com.violet.uaa.server.auth.entity.Permission>
     * @author wqf
     * @date 2024/8/31 10:28
     */
    List<Permission> findByUserId(Long userId);
}